Array Find
Returns index of an array member that match a condition.
Node Data | |
|---|---|
Display name | |
Array Find | |
Internal name | |
Node_Array_Find | |
Inheritances | |
| Node_Array_Find | |
Inputs | |
Node_Array_Find | |
Array |
|
Value |
|
Outputs | |
Node_Array_Find | |
integer |
Index |
Find element in an array. The output is the index of the first occurrence of the element in the array. If the element is not found, the output will be -1.
Properties
Array
The array to search in.
Value
The value to search for.
Related Links
- Base Code: /scripts/node_array_find/node_array_find.gml